import request from '@/plugins/request';
// 共享列表
export function shareList(data) {
    return request({
        url: 'v1/patient/share/list',
        method: 'get',
        params: data
    });
}
// 共享新增
export function shareCreate(data) {
    return request({
        url: 'v1/patient/share/create',
        method: 'post',
        data
    });
}
// 共享编辑详情
export function shareEditInfo(data) {
    return request({
        url: 'v1/patient/share/edit-info',
        method: 'get',
        params: data
    });
}
// 根据项目获取归属人列表
export function shareMemberList(data) {
    return request({
        url: 'v1/patient/share/member-list',
        method: 'get',
        params: data
    });
}
// 共享患者列表
export function sharePatientList(data) {
    return request({
        url: 'v1/patient/share/patient-list',
        method: 'get',
        params: data
    });
}
// 共享详情
export function shareInfo(data) {
    return request({
        url: 'v1/patient/share/info',
        method: 'get',
        params: data
    });
}
// 取消共享
export function shareCancel(data) {
    return request({
        url: 'v1/patient/share/cancel',
        method: 'post',
         data
    });
}